import { Module, forwardRef } from '@nestjs/common';
import { BudgetService } from './budget.service';
import { BudgetController } from './budget.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Budget } from 'src/entity/Budget';
import { TaskModule } from 'src/task/task.module';
import { Task } from 'src/entity/Task';

@Module({
  imports: [forwardRef(() => TaskModule), TypeOrmModule.forFeature([Budget, Task])],
  controllers: [BudgetController],
  providers: [BudgetService],
  exports: [BudgetService]
})
export class BudgetModule { }
